home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Core Concepts in Art 2
/
Core Concepts in Art (Frames of Reference)(The McGraw-Hill Companies)(2004).iso
/
mac
/
media
/
guess.swf
/
scripts
/
DefineButton2_82
/
BUTTONCONDACTION on(release).as
next >
Wrap
Text File
|
2003-11-28
|
822b
|
24 lines
on(release){
_parent.currentSlot = 0;
_parent.theChapter = _parent.resetRandomChapters[_parent.currentSlot];
i = _parent.currentSlot;
while(i < _parent.resetRandomChapters.length)
{
duplicateMovieClip("_parent.guess_mc.variableHolder_mc","vh" + i,16384 + (500 + i));
_parent.guess_mc["vh" + i].num = i;
if(_parent.resetRandomChapters[i] < 10)
{
loadVariables("txtFiles/Ch0" + _parent.resetRandomChapters[i] + "questionNum.txt","_parent.guess_mc.vh" + i);
}
else
{
loadVariables("txtFiles/Ch" + _parent.resetRandomChapters[i] + "questionNum.txt","_parent.guess_mc.vh" + i);
}
i++;
}
_parent.makePage2();
_parent.guess_mc.whichQuestion = 0;
_parent.searchPopUp_mc._visible = 0;
this._visible = 0;
}